.class public Lcom/xingbook/park/activity/ReadingAct;
.super Lcom/xingbook/park/activity/BaseActivity;

# interfaces
.implements Landroid/view/GestureDetector$OnDoubleTapListener;
.implements Landroid/view/GestureDetector$OnGestureListener;
.implements Landroid/view/View$OnClickListener;
.implements Landroid/widget/AdapterView$OnItemClickListener;
.implements Lcom/xingbook/d/f;


# static fields
.field private static A:Lcom/xingbook/park/activity/ReadingAct;


# instance fields
.field private B:I

.field private C:I

.field private D:Lcom/xingbook/park/ui/ad;

.field private E:Lcom/xingbook/park/activity/aw;

.field private a:Landroid/view/GestureDetector;

.field private b:Lcom/xingbook/park/view/SettingView;

.field private c:Lcom/xingbook/d/a;

.field private d:Lcom/xingbook/c/n;

.field private e:Landroid/widget/ImageView;

.field private f:Landroid/widget/ImageView;

.field private g:Landroid/widget/ImageView;

.field private h:Landroid/widget/ImageView;

.field private i:Landroid/widget/ImageView;

.field private l:Landroid/widget/RelativeLayout;

.field private m:Z

.field private n:Lcom/xingbook/d/d;

.field private o:Lcom/xingbook/c/e;

.field private p:Lcom/xingbook/c/a;

.field private q:I

.field private r:Landroid/view/View;

.field private s:Landroid/widget/RelativeLayout;

.field private t:Landroid/widget/LinearLayout;

.field private u:Landroid/widget/ImageView;

.field private v:Landroid/widget/TextView;

.field private w:[Lcn/a/a/c/a;

.field private x:Lcom/xingbook/park/a/q;

.field private y:Landroid/widget/ListView;

.field private z:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/xingbook/park/activity/ReadingAct;->A:Lcom/xingbook/park/activity/ReadingAct;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    const/4 v0, 0x0

    invoke-direct {p0}, Lcom/xingbook/park/activity/BaseActivity;-><init>()V

    iput-boolean v0, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    iput-boolean v0, p0, Lcom/xingbook/park/activity/ReadingAct;->z:Z

    const/4 v0, -0x1

    iput v0, p0, Lcom/xingbook/park/activity/ReadingAct;->B:I

    new-instance v0, Lcom/xingbook/park/activity/aw;

    invoke-direct {v0, p0}, Lcom/xingbook/park/activity/aw;-><init>(Lcom/xingbook/park/activity/ReadingAct;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->E:Lcom/xingbook/park/activity/aw;

    return-void
.end method

.method public static a()Lcom/xingbook/park/activity/ReadingAct;
    .locals 1

    sget-object v0, Lcom/xingbook/park/activity/ReadingAct;->A:Lcom/xingbook/park/activity/ReadingAct;

    return-object v0
.end method

.method private a(Landroid/widget/RelativeLayout;)V
    .locals 8
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    const/4 v3, -0x1

    const/4 v7, -0x2

    const/4 v6, 0x1

    const/16 v5, 0x8

    const/4 v4, 0x0

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030036

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v1, v3, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {p1, v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    const v1, 0x7f0a01ef

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    const v1, 0x7f0a01f2

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    const v1, 0x7f0a01f0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    const v1, 0x7f0a01f4

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    const v1, 0x7f0a01f3

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    const v1, 0x7f0a01f1

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->r:Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v1, Lcom/xingbook/park/view/SettingView;

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    iget-object v3, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-direct {v1, p0, v2, v3}, Lcom/xingbook/park/view/SettingView;-><init>(Landroid/content/Context;Lcom/xingbook/d/d;Lcom/xingbook/d/a;)V

    iput-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v1, v7, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/4 v2, 0x3

    const v3, 0x7f0a01f2

    invoke-virtual {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    const/16 v2, 0xb

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v2, v5}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0, v2, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    invoke-static {p0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    new-instance v2, Lcom/xingbook/park/activity/av;

    invoke-direct {v2, p0}, Lcom/xingbook/park/activity/av;-><init>(Lcom/xingbook/park/activity/ReadingAct;)V

    invoke-static {p0, v0, v1, v2}, Lcom/xingbook/park/ui/ad;->a(Landroid/content/Context;Landroid/widget/RelativeLayout;FLcom/xingbook/park/ui/ak;)Lcom/xingbook/park/ui/ad;

    move-result-object v1

    iput-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->D:Lcom/xingbook/park/ui/ad;

    new-instance v1, Lcom/xingbook/xingbook/b/a;

    invoke-direct {v1}, Lcom/xingbook/xingbook/b/a;-><init>()V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v2}, Lcom/xingbook/d/a;->s()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/xingbook/xingbook/b/a;->a(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v2}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v2

    invoke-virtual {v2}, Lcn/a/a/a;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/xingbook/xingbook/b/a;->b(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->D:Lcom/xingbook/park/ui/ad;

    invoke-virtual {v2, v1, v6, v4, v4}, Lcom/xingbook/park/ui/ad;->a(Lcom/xingbook/b/n;ZZZ)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v1}, Lcom/xingbook/d/a;->t()I

    move-result v1

    if-ne v1, v6, :cond_0

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v1, v6, :cond_1

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x5

    if-eq v1, v2, :cond_1

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x2

    if-eq v1, v2, :cond_1

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x3

    if-ne v1, v2, :cond_3

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->r:Landroid/view/View;

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    :cond_2
    :goto_0
    return-void

    :cond_3
    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x4

    if-eq v1, v2, :cond_4

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x7

    if-ne v1, v2, :cond_5

    :cond_4
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->f()[Lcn/a/a/c/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->w:[Lcn/a/a/c/a;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->r:Landroid/view/View;

    const v1, 0x7f0a0066

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->s:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->s:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->r:Landroid/view/View;

    const v1, 0x7f0a0069

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->s:Landroid/widget/RelativeLayout;

    const v1, 0x7f0a0067

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->v:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->v:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->w:[Lcn/a/a/c/a;

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v2}, Lcom/xingbook/d/d;->getCurrentPage()I

    move-result v2

    aget-object v1, v1, v2

    invoke-virtual {v1}, Lcn/a/a/c/a;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->s:Landroid/widget/RelativeLayout;

    const v1, 0x7f0a0068

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->u:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    const v1, 0x7f0a006a

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->y:Landroid/widget/ListView;

    new-instance v0, Lcom/xingbook/park/a/q;

    const v1, 0x7f030006

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->w:[Lcn/a/a/c/a;

    invoke-direct {v0, p0, v1, v2}, Lcom/xingbook/park/a/q;-><init>(Landroid/content/Context;I[Lcn/a/a/c/a;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->x:Lcom/xingbook/park/a/q;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->y:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->x:Lcom/xingbook/park/a/q;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->y:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    goto/16 :goto_0

    :cond_5
    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v1, v5, :cond_6

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x6

    if-ne v1, v2, :cond_2

    :cond_6
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->r:Landroid/view/View;

    invoke-virtual {v1, v5}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {v0, v5}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    goto/16 :goto_0
.end method

.method private f()V
    .locals 1

    invoke-virtual {p0}, Lcom/xingbook/park/activity/ReadingAct;->finish()V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->f()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 5

    const/4 v4, -0x1

    const/4 v3, 0x0

    const/4 v2, 0x1

    if-nez p1, :cond_2

    invoke-static {}, Lcom/xingbook/park/activity/FCViewAct;->a()Lcom/xingbook/park/activity/FCViewAct;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/xingbook/park/activity/FCViewAct;->a()Lcom/xingbook/park/activity/FCViewAct;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/activity/FCViewAct;->d()V

    :cond_0
    const/4 v0, 0x0

    sput-object v0, Lcom/xingbook/park/activity/ReadingAct;->A:Lcom/xingbook/park/activity/ReadingAct;

    invoke-direct {p0}, Lcom/xingbook/park/activity/ReadingAct;->f()V

    :cond_1
    :goto_0
    return-void

    :cond_2
    if-ne p1, v2, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->z()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0, v3, v2, v4}, Lcom/xingbook/d/d;->a(IZI)V

    goto :goto_0

    :cond_3
    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v0, v2, :cond_4

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x5

    if-eq v0, v1, :cond_4

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x2

    if-eq v0, v1, :cond_4

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_6

    :cond_4
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/i;->h()Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->k()V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/park/activity/BCViewAct;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "music"

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v2}, Lcom/xingbook/park/view/SettingView;->c()Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/ReadingAct;->startActivity(Landroid/content/Intent;)V

    invoke-direct {p0}, Lcom/xingbook/park/activity/ReadingAct;->f()V

    goto :goto_0

    :cond_5
    const v0, 0x7f0800da

    invoke-static {p0, v0, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->getCurrentPageView()Lcom/xingbook/ui/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->e()V

    goto :goto_0

    :cond_6
    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x7

    if-eq v0, v1, :cond_7

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x4

    if-eq v0, v1, :cond_7

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x6

    if-eq v0, v1, :cond_7

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/16 v1, 0x8

    if-ne v0, v1, :cond_1

    :cond_7
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/i;->h()Z

    move-result v0

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->k()V

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/park/activity/BCViewAct;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/ReadingAct;->startActivity(Landroid/content/Intent;)V

    invoke-direct {p0}, Lcom/xingbook/park/activity/ReadingAct;->f()V

    goto/16 :goto_0

    :cond_8
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0, v3, v2, v4}, Lcom/xingbook/d/d;->a(IZI)V

    goto/16 :goto_0
.end method

.method public b()V
    .locals 2

    iget-boolean v0, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    :cond_0
    return-void
.end method

.method public b(I)V
    .locals 2

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x4

    if-eq v0, v1, :cond_0

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x7

    if-ne v0, v1, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->w:[Lcn/a/a/c/a;

    aget-object v0, v0, p1

    invoke-virtual {v0}, Lcn/a/a/c/a;->b()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->v:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->x:Lcom/xingbook/park/a/q;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->x:Lcom/xingbook/park/a/q;

    invoke-virtual {v0, p1}, Lcom/xingbook/park/a/q;->a(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->x:Lcom/xingbook/park/a/q;

    invoke-virtual {v0}, Lcom/xingbook/park/a/q;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->y:Landroid/widget/ListView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->y:Landroid/widget/ListView;

    invoke-virtual {v0, p1}, Landroid/widget/ListView;->setSelection(I)V

    :cond_1
    return-void
.end method

.method public c()V
    .locals 3

    const/16 v2, 0x8

    const/4 v1, 0x0

    iput-boolean v1, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    invoke-static {v0, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-static {v0, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-static {v0, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    invoke-static {v0, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    invoke-static {v0, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->D:Lcom/xingbook/park/ui/ad;

    invoke-virtual {v0, v2}, Lcom/xingbook/park/ui/ad;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0}, Lcom/xingbook/park/view/SettingView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0, v2}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    :cond_1
    return-void
.end method

.method public c(I)V
    .locals 1

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->B:I

    if-ne p1, v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->C:I

    invoke-static {p0, p1, v0}, Lcom/xingbook/c/e;->a(Landroid/app/Activity;II)V

    iput p1, p0, Lcom/xingbook/park/activity/ReadingAct;->B:I

    goto :goto_0
.end method

.method public d()Lcom/xingbook/c/e;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    return-object v0
.end method

.method public e()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u661f\u5b9d\u4e66-\u9605\u8bfb\u6b63\u6587"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3

    const/4 v0, 0x1

    if-ne p1, v0, :cond_0

    if-ltz p2, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    const/4 v1, 0x0

    const/4 v2, -0x1

    invoke-interface {v0, p2, v1, v2}, Lcom/xingbook/d/d;->a(IZI)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->e()V

    goto :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v5, 0x4

    const/4 v4, 0x1

    const/16 v3, 0x8

    const/4 v2, 0x0

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x6

    if-ne v0, v1, :cond_1

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-ne v0, v3, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->p:Lcom/xingbook/c/a;

    invoke-virtual {v0, v2}, Lcom/xingbook/c/a;->a(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_2

    invoke-virtual {p0, v2}, Lcom/xingbook/park/activity/ReadingAct;->a(I)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_6

    iget-boolean v0, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    const/16 v1, 0x96

    invoke-static {v0, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0}, Lcom/xingbook/park/view/SettingView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0, v3}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-static {v0, v2}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0, v2}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0}, Lcom/xingbook/park/view/SettingView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0, v3}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->D:Lcom/xingbook/park/ui/ad;

    invoke-virtual {v0, v2}, Lcom/xingbook/park/ui/ad;->setVisibility(I)V

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v0, v2}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->D:Lcom/xingbook/park/ui/ad;

    invoke-virtual {v0, v3}, Lcom/xingbook/park/ui/ad;->setVisibility(I)V

    goto :goto_0

    :cond_6
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_8

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v0, v4, :cond_7

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x5

    if-eq v0, v1, :cond_7

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_0

    :cond_7
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/xingbook/park/activity/CoverFlowAct;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "current"

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v2}, Lcom/xingbook/d/d;->getCurrentPage()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    iput-boolean v4, p0, Lcom/xingbook/park/activity/ReadingAct;->z:Z

    invoke-virtual {p0, v0, v4}, Lcom/xingbook/park/activity/ReadingAct;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :cond_8
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->s:Landroid/widget/RelativeLayout;

    if-ne p1, v0, :cond_b

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v0, v5, :cond_9

    iget v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v1, 0x7

    if-ne v0, v1, :cond_0

    :cond_9
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_a

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->u:Landroid/widget/ImageView;

    const v1, 0x7f02000f

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_0

    :cond_a
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->u:Landroid/widget/ImageView;

    const v1, 0x7f020001

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_0

    :cond_b
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_c

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->c()V

    goto/16 :goto_0

    :cond_c
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->b()V

    goto/16 :goto_0
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 4

    const/4 v3, 0x2

    const/4 v2, 0x1

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    iget v0, p1, Landroid/content/res/Configuration;->orientation:I

    if-ne v0, v2, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->d:Lcom/xingbook/c/n;

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->C:I

    invoke-virtual {v0, p0, v3, v1}, Lcom/xingbook/c/n;->a(Landroid/app/Activity;II)Lcom/xingbook/c/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->l:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->postInvalidate()V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->j()V

    return-void

    :cond_1
    iget v0, p1, Landroid/content/res/Configuration;->orientation:I

    if-ne v0, v3, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->d:Lcom/xingbook/c/n;

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->C:I

    invoke-virtual {v0, p0, v2, v1}, Lcom/xingbook/c/n;->a(Landroid/app/Activity;II)Lcom/xingbook/c/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    const/16 v1, 0x80

    const/4 v3, -0x1

    invoke-super {p0, p1}, Lcom/xingbook/park/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/ReadingAct;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, v1, v1}, Landroid/view/Window;->setFlags(II)V

    sput-object p0, Lcom/xingbook/park/activity/ReadingAct;->A:Lcom/xingbook/park/activity/ReadingAct;

    invoke-virtual {p0}, Lcom/xingbook/park/activity/ReadingAct;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->d:Lcom/xingbook/c/n;

    invoke-static {}, Lcom/xingbook/c/a;->a()Lcom/xingbook/c/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->p:Lcom/xingbook/c/a;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->d:Lcom/xingbook/c/n;

    invoke-virtual {v0}, Lcom/xingbook/c/n;->h()Lcom/xingbook/d/a;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->d:Lcom/xingbook/c/n;

    invoke-virtual {v0, p0}, Lcom/xingbook/c/n;->h(Landroid/app/Activity;)Lcom/xingbook/c/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->h()Lcn/a/a/i;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/i;->a()I

    move-result v0

    iput v0, p0, Lcom/xingbook/park/activity/ReadingAct;->C:I

    new-instance v0, Landroid/widget/RelativeLayout;

    invoke-direct {v0, p0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->l:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-virtual {v0}, Lcom/xingbook/d/a;->q()Lcn/a/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/a;->d()Lcn/a/a/c;

    move-result-object v0

    invoke-virtual {v0}, Lcn/a/a/c;->a()I

    move-result v0

    iput v0, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->l:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/ReadingAct;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "com.xingbook.park.PAGE_ID"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v1

    new-instance v0, Lcom/xingbook/ui/c/b;

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->d:Lcom/xingbook/c/n;

    invoke-direct {v0, p0, v2}, Lcom/xingbook/ui/c/b;-><init>(Landroid/app/Activity;Lcom/xingbook/c/o;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->l:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    check-cast v0, Lcom/xingbook/ui/c/b;

    invoke-virtual {v2, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->c:Lcom/xingbook/d/a;

    invoke-interface {v0, v2}, Lcom/xingbook/d/d;->a(Lcom/xingbook/d/a;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->l:Landroid/widget/RelativeLayout;

    invoke-direct {p0, v0}, Lcom/xingbook/park/activity/ReadingAct;->a(Landroid/widget/RelativeLayout;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->l:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/ReadingAct;->setContentView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2, v3}, Lcom/xingbook/d/d;->a(IZI)V

    new-instance v0, Landroid/view/GestureDetector;

    invoke-direct {v0, p0, p0}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->a:Landroid/view/GestureDetector;

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->a:Landroid/view/GestureDetector;

    invoke-virtual {v0, p0}, Landroid/view/GestureDetector;->setOnDoubleTapListener(Landroid/view/GestureDetector$OnDoubleTapListener;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->getCurrentPageView()Lcom/xingbook/ui/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->i()V

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onDestroy()V

    return-void
.end method

.method public onDoubleTap(Landroid/view/MotionEvent;)Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public onDoubleTapEvent(Landroid/view/MotionEvent;)Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public onDown(Landroid/view/MotionEvent;)Z
    .locals 5

    const/4 v0, 0x1

    const/16 v4, 0xff

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x6

    if-eq v1, v2, :cond_2

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/16 v2, 0x8

    if-eq v1, v2, :cond_2

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    iget-object v3, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    invoke-virtual {v3, v1, v2}, Lcom/xingbook/c/e;->a(FF)I

    move-result v1

    packed-switch v1, :pswitch_data_0

    :cond_0
    :goto_0
    return v0

    :pswitch_0
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_0

    :pswitch_1
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_0

    :pswitch_2
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_0

    :pswitch_3
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_0

    :pswitch_4
    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v1, v0, :cond_1

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x5

    if-eq v1, v2, :cond_1

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x2

    if-eq v1, v2, :cond_1

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v2, 0x3

    if-ne v1, v2, :cond_0

    :cond_1
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-static {v1, v4}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_0

    :cond_2
    const/4 v0, 0x0

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 4

    const/4 v0, 0x0

    const/high16 v3, 0x4348

    const/4 v2, 0x6

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v1, v2, :cond_0

    iget v1, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/16 v2, 0x8

    if-eq v1, v2, :cond_0

    :try_start_0
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v1

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getY()F

    move-result v2

    sub-float/2addr v1, v2

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v1

    const/high16 v2, 0x437a

    cmpl-float v1, v1, v2

    if-lez v1, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    sget-object v1, Lcom/xingbook/c/e;->a:[I

    const/4 v2, 0x6

    aget v1, v1, v2

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_3

    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v0

    cmpl-float v0, v0, v3

    if-lez v0, :cond_3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    invoke-virtual {v1}, Lcom/xingbook/c/e;->c()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-ltz v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->b()V

    :cond_2
    :goto_1
    const/4 v0, 0x1

    goto :goto_0

    :cond_3
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    sget-object v1, Lcom/xingbook/c/e;->a:[I

    const/4 v2, 0x6

    aget v1, v1, v2

    int-to-float v1, v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_2

    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v0

    cmpl-float v0, v0, v3

    if-lez v0, :cond_2

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    invoke-virtual {v1}, Lcom/xingbook/c/e;->c()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    int-to-float v1, v1

    cmpg-float v0, v0, v1

    if-gtz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->c()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_1
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->p:Lcom/xingbook/c/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/xingbook/c/a;->a(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->u:Landroid/widget/ImageView;

    const v1, 0x7f02000f

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->getCurrentPage()I

    move-result v0

    if-eq p3, v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    const/4 v1, 0x1

    const/4 v2, -0x1

    invoke-interface {v0, p3, v1, v2}, Lcom/xingbook/d/d;->a(IZI)V

    :cond_1
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    const/4 v1, 0x4

    if-ne v0, v1, :cond_0

    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/xingbook/park/activity/ReadingAct;->a(I)V

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    invoke-super {p0, p1, p2}, Lcom/xingbook/park/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public onLongPress(Landroid/view/MotionEvent;)V
    .locals 0

    return-void
.end method

.method protected onPause()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onPause()V

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->d()V

    invoke-static {}, Ljava/lang/System;->gc()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/ReadingAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 1

    invoke-super {p0}, Lcom/xingbook/park/activity/BaseActivity;->onResume()V

    iget-boolean v0, p0, Lcom/xingbook/park/activity/ReadingAct;->z:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/park/activity/ReadingAct;->z:Z

    :goto_0
    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/park/activity/ReadingAct;->j()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/a/a/g;->b(Landroid/content/Context;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->e()V

    goto :goto_0
.end method

.method public onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public onShowPress(Landroid/view/MotionEvent;)V
    .locals 0

    return-void
.end method

.method public onSingleTapConfirmed(Landroid/view/MotionEvent;)Z
    .locals 7

    const/4 v6, 0x4

    const/16 v5, 0x8

    const/4 v0, 0x1

    const/4 v1, 0x0

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x6

    if-eq v2, v3, :cond_8

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v5, :cond_8

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v3

    iget-object v4, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    invoke-virtual {v4, v2, v3}, Lcom/xingbook/c/e;->a(FF)I

    move-result v2

    packed-switch v2, :pswitch_data_0

    :cond_0
    :goto_0
    return v0

    :pswitch_0
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v1}, Lcom/xingbook/d/d;->c()V

    goto :goto_0

    :pswitch_1
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v1}, Lcom/xingbook/d/d;->b()V

    goto :goto_0

    :pswitch_2
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->p:Lcom/xingbook/c/a;

    invoke-virtual {v2, v1}, Lcom/xingbook/c/a;->a(I)V

    invoke-virtual {p0, v1}, Lcom/xingbook/park/activity/ReadingAct;->a(I)V

    goto :goto_0

    :pswitch_3
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->p:Lcom/xingbook/c/a;

    invoke-virtual {v2, v1}, Lcom/xingbook/c/a;->a(I)V

    iget-boolean v2, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    if-nez v2, :cond_2

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    const/16 v3, 0x96

    invoke-static {v2, v3}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v2}, Lcom/xingbook/park/view/SettingView;->getVisibility()I

    move-result v2

    if-nez v2, :cond_1

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v2, v5}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_0

    :cond_1
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v2, v1}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    goto :goto_0

    :cond_2
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v2}, Lcom/xingbook/park/view/SettingView;->getVisibility()I

    move-result v2

    if-nez v2, :cond_3

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v1, v5}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    goto :goto_0

    :cond_3
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v2, v1}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    goto :goto_0

    :pswitch_4
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->p:Lcom/xingbook/c/a;

    invoke-virtual {v2, v1}, Lcom/xingbook/c/a;->a(I)V

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v0, :cond_4

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x5

    if-eq v2, v3, :cond_4

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x3

    if-ne v2, v3, :cond_5

    :cond_4
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/xingbook/park/activity/CoverFlowAct;

    invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "current"

    iget-object v3, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v3}, Lcom/xingbook/d/d;->getCurrentPage()I

    move-result v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    iput-boolean v0, p0, Lcom/xingbook/park/activity/ReadingAct;->z:Z

    invoke-virtual {p0, v1, v0}, Lcom/xingbook/park/activity/ReadingAct;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :cond_5
    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v6, :cond_6

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x7

    if-ne v2, v3, :cond_0

    :cond_6
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v2}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v2

    if-nez v2, :cond_7

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->u:Landroid/widget/ImageView;

    const v2, 0x7f02000f

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_0

    :cond_7
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->t:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->u:Landroid/widget/ImageView;

    const v2, 0x7f020001

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto/16 :goto_0

    :cond_8
    move v0, v1

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public onSingleTapUp(Landroid/view/MotionEvent;)Z
    .locals 8

    const/4 v7, 0x3

    const/4 v6, 0x2

    const/4 v0, 0x1

    const/16 v5, 0x96

    const/4 v1, 0x0

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x6

    if-eq v2, v3, :cond_10

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/16 v3, 0x8

    if-eq v2, v3, :cond_10

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v2

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F

    move-result v3

    iget-object v4, p0, Lcom/xingbook/park/activity/ReadingAct;->o:Lcom/xingbook/c/e;

    invoke-virtual {v4, v2, v3}, Lcom/xingbook/c/e;->a(FF)I

    move-result v2

    packed-switch v2, :pswitch_data_0

    iget-boolean v2, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    if-eqz v2, :cond_b

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->D:Lcom/xingbook/park/ui/ad;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Lcom/xingbook/park/ui/ad;->setVisibility(I)V

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v0, :cond_0

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x5

    if-eq v2, v3, :cond_0

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v6, :cond_0

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-ne v2, v7, :cond_9

    :cond_0
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    :cond_1
    :goto_0
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    invoke-virtual {v2}, Lcom/xingbook/park/view/SettingView;->getVisibility()I

    move-result v2

    if-nez v2, :cond_2

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Lcom/xingbook/park/view/SettingView;->setVisibility(I)V

    :cond_2
    iput-boolean v1, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    :goto_1
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->b:Lcom/xingbook/park/view/SettingView;

    iget-boolean v2, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    invoke-virtual {v1, v2}, Lcom/xingbook/park/view/SettingView;->a(Z)V

    :cond_3
    :goto_2
    return v0

    :pswitch_0
    iget-boolean v2, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    if-eqz v2, :cond_4

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :cond_4
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :pswitch_1
    iget-boolean v2, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    if-eqz v2, :cond_5

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :cond_5
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :pswitch_2
    iget-boolean v2, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    if-eqz v2, :cond_6

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :cond_6
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :pswitch_3
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :pswitch_4
    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v0, :cond_7

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x5

    if-eq v2, v3, :cond_7

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v6, :cond_7

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-ne v2, v7, :cond_3

    :cond_7
    iget-boolean v2, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    if-eqz v2, :cond_8

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :cond_8
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-static {v2, v1}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    goto :goto_2

    :cond_9
    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x4

    if-eq v2, v3, :cond_a

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x7

    if-ne v2, v3, :cond_1

    :cond_a
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->r:Landroid/view/View;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :cond_b
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->D:Lcom/xingbook/park/ui/ad;

    invoke-virtual {v2, v1}, Lcom/xingbook/park/ui/ad;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->e:Landroid/widget/ImageView;

    invoke-static {v2, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v0, :cond_c

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x5

    if-eq v2, v3, :cond_c

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-eq v2, v6, :cond_c

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    if-ne v2, v7, :cond_e

    :cond_c
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->f:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    :cond_d
    :goto_3
    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->g:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->h:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iget-object v1, p0, Lcom/xingbook/park/activity/ReadingAct;->i:Landroid/widget/ImageView;

    invoke-static {v1, v5}, Lcom/xingbook/c/e;->a(Landroid/widget/ImageView;I)V

    iput-boolean v0, p0, Lcom/xingbook/park/activity/ReadingAct;->m:Z

    goto/16 :goto_1

    :cond_e
    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x4

    if-eq v2, v3, :cond_f

    iget v2, p0, Lcom/xingbook/park/activity/ReadingAct;->q:I

    const/4 v3, 0x7

    if-ne v2, v3, :cond_d

    :cond_f
    iget-object v2, p0, Lcom/xingbook/park/activity/ReadingAct;->r:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_3

    :cond_10
    move v0, v1

    goto/16 :goto_2

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 5

    const/4 v1, 0x1

    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->getCurrentPageView()Lcom/xingbook/ui/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getActivityTouchListener()Lcom/xingbook/ui/overclass/a;

    move-result-object v2

    if-eqz v2, :cond_2

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v3

    if-ne v3, v1, :cond_0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v0

    float-to-int v0, v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v3

    float-to-int v3, v3

    invoke-interface {v2, v0, v3, v1}, Lcom/xingbook/ui/overclass/a;->a(IIZ)V

    move v0, v1

    :goto_0
    return v0

    :cond_0
    const/4 v3, 0x0

    invoke-interface {v2, v3}, Lcom/xingbook/ui/overclass/a;->setNoMove(Z)V

    invoke-interface {v2}, Lcom/xingbook/ui/overclass/a;->getMovingState()Z

    move-result v3

    if-nez v3, :cond_1

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v3

    float-to-int v3, v3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v4

    float-to-int v4, v4

    invoke-interface {v2, v3, v4}, Lcom/xingbook/ui/overclass/a;->c(II)V

    :cond_1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawX()F

    move-result v3

    float-to-int v3, v3

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getRawY()F

    move-result v4

    float-to-int v4, v4

    invoke-interface {v2, v3, v4}, Lcom/xingbook/ui/overclass/a;->b(II)V

    :cond_2
    invoke-virtual {v0}, Lcom/xingbook/ui/b/a;->getPageType()I

    move-result v2

    const/4 v3, 0x7

    if-ne v2, v3, :cond_4

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v2

    if-ne v2, v1, :cond_3

    check-cast v0, Lcom/xingbook/ui/b/j;

    invoke-virtual {v0, p1}, Lcom/xingbook/ui/b/j;->a(Landroid/view/MotionEvent;)Z

    move-result v0

    if-eqz v0, :cond_4

    move v0, v1

    goto :goto_0

    :cond_3
    check-cast v0, Lcom/xingbook/ui/b/j;

    invoke-virtual {v0, p1}, Lcom/xingbook/ui/b/j;->b(Landroid/view/MotionEvent;)Z

    move-result v0

    if-eqz v0, :cond_4

    move v0, v1

    goto :goto_0

    :cond_4
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->n:Lcom/xingbook/d/d;

    invoke-interface {v0}, Lcom/xingbook/d/d;->i()Z

    move-result v0

    if-eqz v0, :cond_5

    move v0, v1

    goto :goto_0

    :cond_5
    iget-object v0, p0, Lcom/xingbook/park/activity/ReadingAct;->a:Landroid/view/GestureDetector;

    invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    goto :goto_0
.end method
